package sysBean

const ParamSysKey = "system"

type ParamSys struct {
	WebHost   string
	UIWebHost string
	TokenKey  string
}

func (c *ParamSys) GetWebHost() string {
	if c.WebHost != "" {
		return c.WebHost
	}
	return "http://localhost:8080"
}
func (c *ParamSys) GetTokenKey() string {
	if c.TokenKey != "" {
		return c.TokenKey
	}
	return "M60C7MYIYO1NHAAKFLOJ77A68VQ5XFMN"
}
